import { Meta, ArgsTable } from '@storybook/addon-docs'
import { Drawer, DrawerHeader, DrawerFooter } from '@v-uik/drawer'
import { createTitle, COMPONENTS } from '../../docs/showroom/config'
import { ClassesDummy } from '@v-uik/drawer/examples'

<Meta
  title={createTitle([COMPONENTS.navigation, 'Drawer', 'API'])}
  component={Drawer}
  parameters={{
    viewMode: 'docs',
    previewTabs: {
      canvas: { hidden: true },
    },
  }}
/>

# Drawer API

<ArgsTable of={Drawer} />

# DrawerHeader API

<ArgsTable of={DrawerHeader} />

# DrawerFooter API

<ArgsTable of={DrawerFooter} />

# Classes

<ArgsTable of={ClassesDummy} />
